package com.qiyeji.real_estate.entity;

public class department {
    private String dcode;

    private String dname;

    public department(String dcode, String dname) {
        this.dcode = dcode;
        this.dname = dname;
    }

    public department() {
    }

    public String getDcode() {
        return dcode;
    }

    public void setDcode(String dcode) {
        this.dcode = dcode == null ? null : dcode.trim();
    }

    public String getDname() {
        return dname;
    }

    public void setDname(String dname) {
        this.dname = dname == null ? null : dname.trim();
    }

    @Override
    public String toString() {
        return "department{" +
                "dcode='" + dcode + '\'' +
                ", dname='" + dname + '\'' +
                '}';
    }
}